"""
获取 登录成功 的令牌，组织请求头
"""
import jsonschema
from api.login_api import LoginApi


def get_header():
    data = {"mobile": "13800000002", "password": "929itheima.CN032@.20251021"}
    resp=LoginApi.login(data)
    header={"Authorization":resp.json().get("data")}
    return header


if __name__ == '__main__':
    print(get_header())